package com.procurement.inquiry.service;

import java.util.List;

import com.procurement.inquiry.domain.PcmApplicationDetail;
import com.procurement.inquiry.domain.PcmInquiryDemand;
import com.procurement.inquiry.domain.PcmInquiryForm;
import com.procurement.inquiry.domain.PcmSupplier;
import com.ruoyi.system.api.domain.PcmAudit;
import com.ruoyi.system.api.domain.PcmSupplierQuotation;

/**
 * 询价单Service接口
 * 
 * @author ruoyi
 * @date 2023-11-28
 */
public interface IPcmInquiryFormService 
{
    /**
     * 查询询价单
     * 
     * @param inquiryId 询价单主键
     * @return 询价单
     */
    public List<PcmSupplier> selectPcmInquiryFormByInquiryId(String inquiryId);

    /**
     * 查询询价单列表
     * 
     * @param pcmInquiryForm 询价单
     * @return 询价单集合
     */
    public List<PcmInquiryDemand> selectPcmInquiryFormList(String pcmInquiryDemand);

    /**
     * 新增询价单
     * 
     * @param pcmInquiryForm 询价单
     * @return 结果
     */
    public int insertPcmInquiryForm(PcmInquiryForm pcmInquiryForm);
    public int insertPcmAudit(PcmAudit pcmAudit);

    /**
     * 修改询价单
     * 
     * @param pcmInquiryForm 询价单
     * @return 结果
     */
    public int updatePcmInquiryForm(PcmInquiryForm pcmInquiryForm);

    /**
     * 批量删除询价单
     * 
     * @param inquiryIds 需要删除的询价单主键集合
     * @return 结果
     */
    public int deletePcmInquiryFormByInquiryIds(Long[] inquiryIds);

    /**
     * 删除询价单信息
     * 
     * @param inquiryId 询价单主键
     * @return 结果
     */
    public int deletePcmInquiryFormByInquiryId(Long inquiryId);

    public int insertPcmSupplierQuotation(PcmSupplierQuotation pcmSupplierQuotation);
    public PcmSupplierQuotation selectSupplierQuotation();
    public int updatePcmApploicationDemand(List<PcmApplicationDetail> inquiryDemandNumber);
}
